//
//  ICMGetRequest.m
//  ICrEAM
//
//  Created by rainimute on 16/11/15.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "ICMGetRequest.h"

@interface ICMGetRequest ()

@property (nonatomic, strong) NSDictionary *parameters;

@property (nonatomic, copy) NSString *url;

@end

@implementation ICMGetRequest

- (instancetype)initWithURL:(NSString *)url andParameters:(NSDictionary *)parameters{
    if (self = [super init]) {
        self.url = url;
        self.parameters = parameters;
    }
    return self;
}

/**请求方式**/
- (YTKRequestMethod)requestMethod{
    return YTKRequestMethodGet;
}

/**接口连接**/
- (NSString *)requestUrl{
    return self.url;
}

/**传入参数**/
- (id)requestArgument{
    
    return self.parameters;
}

@end
